package com.shanzmoo.db.store.entity.vo;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 仓库收货单 vo对象
 *
 * @author Gzhao 2021-03-11
 */
@Data
@ApiModel("仓库收货单-vo询对象")
public class StoreReceiveBillVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "单据ID")
    private Integer id;

    @ApiModelProperty(value = "收货单号")
    private String billNo;

    @ApiModelProperty(value = "状态：0-待审核,1-审核通过（待上架）,2-已入库,9-已取消")
    private Integer status;

    @ApiModelProperty(value = "关联单号")
    private String originOrder;

    @ApiModelProperty(value = "关联单据类型：1-采购单,2-门店订单,3-售后退货单,4-仓储单")
    private Integer originOrderType;

    @ApiModelProperty(value = "收货大仓id")
    private Integer storeId;

    @ApiModelProperty(value = "收货大仓")
    private String storeCode;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "审批人")
    private String examineUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @ApiModelProperty(value = "审批时间")
    private LocalDateTime examineTime;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "商品明细")
    private List<StoreReceiveBillDetailVO> detailList;
}
